package com.gsmr.dao;

import java.util.List;
import java.util.Map;

import com.gsmr.entity.AlarmThreshold;

/**
 * AlarmThresholdDao
 * @author alarmThreshold
 *
 */
public interface AlarmThresholdDao {

	/**
	 * 根据条件查询AlarmThreshold集合
	 * @param map
	 * @return
	 */
	public List<AlarmThreshold> find(Map<String,Object> map);
	
	/**
	 * 获取总记录数
	 * @param map
	 * @return
	 */
	public Long getTotal(Map<String,Object> map);
	
	/**
	 * 修改AlarmThreshold
	 * @param map
	 * @return
	 */
	public int updateByfrontProcessorId(Map<String,Object> map);

	public int updateByServerId(Map<String, Object> map);

	public void record(Map<String, Object> map);

	public String getSiteName(Map<String, Object> map);
}
